import React from "react";
import styles from "./index.module.less";

const Tag = (props) => {
    const { type, tag } = props;

    return (
        <span className={`${styles.tag} ${type ? styles[type] : ""}`}>
            {tag}
        </span>
    );
};

export default Tag;
